import request from '@/utils/request.js'
import QS from 'qs'

export function login(param) {
  let url = '/user/login'
  return request.post(url, param, {noAuth: true})
}

export function listMenu(param) {
  let url = '/user/listMenu'
  return request.get(url, QS.stringify(param))
}
